<div class="list-group-item">
  <span class="glyphicon glyphicon-time"></span> Joined on <%= user.created_at.to_date.strftime("%b %d, %Y") %>
</div>

<div class="list-group-item">
  <span class="badge"><%= number_of_collections(user) %></span>
  <span class="glyphicon glyphicon-folder-open"></span> <%= link_to_field('depositor', user.to_s, t("sufia.dashboard.stats.collections"), human_readable_type: "Collection") %>
</div>

<div class="list-group-item">
  <span class="badge"><%= number_of_works(user) %></span>
  <span class="glyphicon glyphicon-upload"></span> <%= link_to_field('depositor', user.to_s, t("sufia.dashboard.stats.works"),  human_readable_type: "Work") %>

  <ul class="views-downloads-dashboard list-unstyled">
      <li><span class="badge badge-optional"><%= user.total_file_views %></span> <%= t("sufia.dashboard.stats.file_views").pluralize(user.total_file_views) %></li>
      <li><span class="badge badge-optional"><%= user.total_file_downloads %></span> <%= t("sufia.dashboard.stats.file_downloads").pluralize(user.total_file_downloads) %></li>
  </ul>
</div>
